﻿using System;
using System.Collections.Generic;
using System.Text;
using AdminManager.DAL.Public;

namespace AdminManager.BLL.Public
{
   public class UserGroup
    {
        public string UserName
        {
            get;
            set;
        }

        public string UserPassWord
        {
            get;
            set;
        }

        public bool Check()
        {
            if (UserName == "")
            {
                UserGroupDAl usergroupdal = new UserGroupDAl();
                usergroupdal.UserName = UserName;
                usergroupdal.UserPassWord = UserPassWord;
                return usergroupdal.Check();
            }
            return true;
        }

        public UserGroup()
        { 

        }
    }
}
